package edu.scu.declaresys.web.interceptor;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;

public class LoginedCheckInterceptor extends AbstractInterceptor
{
	private static final long	serialVersionUID	= -4945315720877536320L;

	@Override
	public String intercept(ActionInvocation invocation) throws Exception
	{
		String url = ServletActionContext.getRequest().getRequestURL().toString();
		System.out.println(url);
		return invocation.invoke();
	}
	
}
